/**
 * @Author bian
 * @CreateDate 2017.3.3
 */
import "../base.js"
import {AJAXERROR,errorHandler} from "../Error"

export const GETCOURSE = "GETCOURSE"
exports.AJAXERROR = AJAXERROR

export function getCourse(){
    var course = document.getElementById("courseData").innerText
    course = JSON.parse(course)
    return {
        type : GETCOURSE,
        course : course
    }
}
